Piwik\Plugins\CoreUpdater\Updater A

Total Complexity 54
Dependencies 23
Dependents 2
Total lines 297
Lines of code 209
Logical lines of code 147
Comment lines 57
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
updatePiwik()
A
43 10 47
oneClickUpdatePartTwo()
A
45 8 40
checkFolderPermissions()
A
55 8 18
decompressArchive()
S
52 7 25
installNewFiles()
S
55 4 19
disableIncompatiblePlugins()
S
59 3 15
getArchiveUrl()
S
63 4 10
verifyDecompressedArchive()
S
65 3 8
downloadArchive()
S
60 2 12
isNewVersionAvailable()
S
74 2 4
__construct()
S
74 1 5
getLatestVersion()
S
80 1 3
getIncompatiblePlugins()
S
80 1 3